/**
 * 
 */
package org.cuatrovientos.methods;

import java.util.Scanner;

/**
 * @author unai_inigo
 *
 */
public class Metodos2 {
/**
 * this method is to say that Pamplona is mordor
 */
	public static void bucle (){
		for(int i=0;i<5;i++){
			System.out.println("Estamos en mordor");
		}
	}
	/**
	 * is to print a 
	 * @param a
	 */
	public static void numero(int a){
		for(int i=0;i<a;i++){
			System.out.println(a);
		}
		
	}
	/**
	 * @param args
	 *
	 */
	public static void main(String[] args) {
	
		int numero[]=new int [10];
		String line="";
		Scanner reader = new Scanner(System.in);
		
		for(int i=0;i<numero.length;i++){
			System.out.println("Introduce un numero");
			line = reader.nextLine();
			numero[i]= Integer.parseInt(line);
		}
		for(int j=0;j<numero.length;j++){
			System.out.println(numero[j]);
		}
		
		System.out.println("Introduce un numero");
		line = reader.nextLine();
		int a = Integer.parseInt(line);
		
		Metodos2.numero(a);
		Metodos2.bucle();

	}

}
